package com.service.bracelet.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.bracelet.entity.Lumen;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 流明数据的mapper
 */
@Mapper
public interface LumenMapper extends BaseMapper<Lumen> {

	/**
	 * 查询总数，用于分页
	 * @param params
	 * @return
	 */
    long queryListTotal(Map<String, Object> params);

    /**
     * 查询流明数据
     * @param params
     * @return
     */
    List<Map<String, Object>> queryList(Map<String, Object> params);
    
    /**
     * 导出流明数据
     * @param params
     * @return
     */
    List<Map<String, Object>> exportList(Map<String, Object> params);
}